package com.sjyl.kaoshitong;

import android.app.Application;

import com.orhanobut.logger.Logger;
import com.sjyl.kaoshitong.util.OKHttpUtil;

import org.litepal.LitePalApplication;

/**
 * Created by ChangerLow on 15/4/24.
 * Email: changerlow@qq.com
 */
public class MyApplication extends Application {
    //public final String cacheDir =  getApplicationContext().getCacheDir().getPath()+"HttpCache";

    @Override
    public void onCreate() {
        super.onCreate();
        LitePalApplication.initialize(this);
        Logger.init().setMethodCount(0).hideThreadInfo();
        OKHttpUtil.init(this);
    }
}
